package Json;

/**
 * @Description
 * @Author zhongzihao
 * @Date 2021/8/4 9:59 上午
 */

public class Book {
    private String bookName;
    private Double bookPrice;
    private Boolean bol;

    public Boolean getBol() {
        return bol;
    }

    public void setBol(Boolean bol) {
        this.bol = bol;
    }

    public Book() {
    }

    public Book(String bookName, Double bookPrice, Boolean bol) {
        this.bookName = bookName;
        this.bookPrice = bookPrice;
        this.bol = bol;
    }

    public Book(String bookName, Double bookPrice) {
        this.bookName = bookName;
        this.bookPrice = bookPrice;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public Double getBookPrice() {
        return bookPrice;
    }

    public void setBookPrice(Double bookPrice) {
        this.bookPrice = bookPrice;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookName='" + bookName + '\'' +
                ", bookPrice=" + bookPrice +
                ", bol=" + bol +
                '}';
    }
}
